#pragma once
#include <string>
#include "Tools.h"

class AddMask : public BaseTool
{
public:
	inline void setInputDir(std::string path) {
		_input_dir = path;
	}

	inline void setOutputDir(std::string path) {
		_output_dir = path;
	}

	int process();

	void _process_file(int intcolor, std::string abs_sub_dir, std::string osgf, std::string subdir);
	int _process_sub_dir(std::string subdir);

	virtual int handle(const osgEarth::Config* cfg) override;

protected:

	


	std::string _input_dir;
	std::string _output_dir;


};

